package com.egg.mall.model.response.web;

import com.egg.common.core.model.response.BaseResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@ApiModel(value = "订单分页")
public class OrderPage extends BaseResponse {


    @ApiModelProperty(value = "订单ID")
    private Long id;

    @ApiModelProperty(value = "订单编码")
    private String code;

    @ApiModelProperty(value = "用户昵称")
    private String userNickname;

    @ApiModelProperty(value = "支付端类型", notes = "com.egg.basic.enums.pay.ClientTypeEnum")
    private String clientType;

    @ApiModelProperty(value = "订单状态", notes = "com.egg.mall.enums.OrderStateEnum")
    private String state;

    @ApiModelProperty(value = "总金额(分)")
    private Long totalAmount;

    @ApiModelProperty(value = "支付金额(分)")
    private Long payAmount;


}
